/**
 * @program: yygh_parent
 * @ClassName DepartmentService
 * @description:
 * @author: zyw
 * @create: 2023-05-25 09:39
 * @Version 1.0
 **/
package com.atguigu.yygh.hosp.service;

import com.atguigu.yygh.model.hosp.Department;
import com.atguigu.yygh.vo.hosp.DepartmentVo;
import org.springframework.data.domain.Page;

import java.util.List;
import java.util.Map;

public interface DepartmentService {
    void saveDepartment(Map<String, Object> map);

    Page<Department> getDepartmentPage(Map<String, Object> map);

    void remove(Map<String, Object> map);

    List<DepartmentVo> findDeptTree(String hoscode);

    String getDepname(String hoscode, String depcode);

    Department getDepartment(String hoscode, String depcode);
}
 
